package me.wangqu.weiyouqu.repository;

import me.wangqu.weiyouqu.domain.ViewPager;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.*;

import java.util.List;

/**
 * Spring Data JPA repository for the ViewPager entity.
 */
@SuppressWarnings("unused")
public interface ViewPagerRepository extends JpaRepository<ViewPager,Long> {
    Page<ViewPager> findByType(Integer type, Pageable pageable);
}
